<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@page import="com.demoweb.model.dto.Membership"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>FLAPPY FISH</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="/demoweb/styles/flappystyle.css" rel="stylesheet" type="text/css" />
		<link href="/demoweb/styles/input2.css" rel="stylesheet" type="text/css" />
</head>
<body>

<%	pageContext.include("/WEB-INF/views/flappy/header.jsp");%>


<div id="content" style="margin-right: 350px;">
  
  <!-- ---------------------------------- Main page content ----------------------------------- -->

	<div id="pageContainer" >

		<div style="padding-top:25px;text-align:center; width: 500px">
		<div id="inputcontent"  >
		    <div id="inputmain">
		        <div class="inputsubtitle">메일보내기</div>
		        <form action="sendmail.action" method="post">
		        <table>
		            <tr>
		                <th>받는이</th>
		                <td>
		                    <input type="text" name="to" style="width:550px" />
		                </td>
		            </tr>
		            <tr>
		                <th>보내는이</th>
		                <td>
		                	<%= ((Membership)session.getAttribute("loginuser")).getEmail() %>
		                </td>
		            </tr>		            
		            <tr>
		                <th>제목</th>
		                <td>
		                    <input type="text" name="subject" style="width:550px" />
		                </td>
		            </tr>
		            <tr>
		                <th>내용</th>
		                <td>
		                    <textarea name="content" rows="20" cols="76"></textarea>
		                </td>
		            </tr>
		        </table>
		        <div class="buttons">		        	
		        	<a href="javascript:document.forms[0].submit();">보내기</a>
		        	&nbsp;&nbsp;
		        	<a href="/flappy/home.action">취소</a>
		        </div>
		        </form>
		    </div>
		</div>   	
	
	</div>
	</div>

    <!-- ---------------------------------- Main page content ----------------------------------- -->
</div>
<div id="footer"  style="margin-top: 568px; float: inherit">
  <p id="legal">Copyright &copy; 2007 Red Avenue. All Rights Reserved. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
  <p id="links"><a href="http://www.free-css.com/">Home</a> | <a href="http://www.free-css.com/">Terms of Use</a></p>
</div>
</body>
</html>  










